﻿<%@ Page Language="C#" AutoEventWireup="true" validaterequest="false" CodeBehind="edit.aspx.cs" Inherits="AnyOffice.general.calendar.manage.edit" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>编辑事务</title>
		
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="JavaScript">
function CheckForm()
{
   if(document.Form1.txtContent.value=="")
   { alert("事务内容不能为空！");
     return (false);
   }
   Form1.submit();
}

		</script>
	</HEAD>
	<body class="bodycolor" topMargin="5">
		<form id="Form1" method="post" runat="server">
			<asp:Panel id="pnlMain" runat="server">
				<table class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<tr>
						<td class="Big"><IMG src="/images/menu/calendar.gif" align="absMiddle"><span class="big3">
								编辑事务（<asp:literal id="litSpecifyDate" runat="server"></asp:literal>）</span>
						</td>
					</tr>
				</table>
				<br>
				<table class="small" cellSpacing="1" cellPadding="2" width="450" align="center" bgColor="#000000"
					border="0">
					<tr>
						<td class="TableData" noWrap>开始时间：</td>
						<td class="TableData">
							<asp:DropDownList id="ddlStartHour" runat="server" CssClass="SmallSelect"></asp:DropDownList>：&nbsp;
							<asp:dropdownlist id="ddlStartMinute" runat="server" CssClass="SmallSelect"></asp:dropdownlist>
						</td>
					</tr>
					<tr>
						<td class="TableData" noWrap>结束时间：</td>
						<td class="TableData">
							<asp:DropDownList id="ddlEndHour" runat="server" CssClass="SmallSelect"></asp:DropDownList>：&nbsp;
							<asp:dropdownlist id="ddlEndMinute" runat="server" CssClass="SmallSelect"></asp:dropdownlist></td>
					</tr>
					<tr>
						<td class="TableData" noWrap>事务类型：</td>
						<td class="TableData"><select class="BigSelect" id="selectCalType" name="CAL_TYPE" runat="server">
								<option value="1" selected>工作事务</option>
								<option value="2">个人事务</option>
							</select>
						</td>
					</tr>
					<tr>
						<td class="TableData" noWrap>事务内容：</td>
						<td class="TableData"><textarea class="BigInput" id="txtContent" name="txtContent" rows="5" cols="45" runat="server"></textarea>
						</td>
					</tr>
					<tr>
						<td class="TableData" noWrap>提醒：
						</td>
						<td class="TableData"><asp:checkbox id="ckbSms" runat="server" Checked="True" Text="使用内部短信提醒自己"></asp:checkbox><asp:checkbox id="ckbMobile" runat="server" Text="使用手机短信提醒自己" Visible="False"></asp:checkbox></td>
					</tr>
					<tr class="TableControl" align="center">
						<td noWrap colSpan="2">
						&nbsp;&nbsp;<input type="button" value="确定" class="BigButton" onclick="CheckForm();">&nbsp;&nbsp;
						<input type="button" value="返回" class="BigButton" onClick="location='manage.aspx?date=<%=ViewState["SpecifyDate"]%>'">
						</td>
					</tr>
				</table>
			</asp:Panel>
			<asp:Literal id="litMessage" runat="server"></asp:Literal>
		</form>
	</body>
</HTML>
